{{if data && data.length > 0}}
{{each data as dt index0}}
{{if index0 % 2 == 0}}
<tr class="ts-table-odd">
    {{if select && select == 'checkbox'}}
    <td><input type="checkbox" data-row="{{dt}}" class="checks" /></td>
    {{/if}}
    {{if select && select == 'radio'}}
    <td><input type="radio" data-row="{{dt}}" name="radio-one" class="radios" /></td>
    {{/if}}

    {{each header as hd index1}}
    <td>{{dt[hd.column]}}</td>
    {{/each}}
</tr>
{{else}}
<tr>
    {{if select && select == 'checkbox'}}
    <td><input type="checkbox" data-row="{{dt}}" class="checks" /></td>
    {{/if}}
    {{if select && select == 'radio'}}
    <td><input type="radio" data-row="{{dt}}" name="radio-one" class="radios" /></td>
    {{/if}}

    {{each header as hd index1}}
    <td>{{dt[hd.column]}}</td>
    {{/each}}
</tr>
{{/if}}
{{/each}}
{{else}}
<tr>
    <td colspan="{{if select}} {{header.length + 1}} {{else}} {{header.length}} {{/if}}" style="text-align: center">暂无数据</td>
</tr>
{{/if}}